package cn.tworice.blog.service;

import cn.tworice.blog.entity.SendMailDto;
import com.lmk.core.web.support.api.RequestResult;

import javax.servlet.http.HttpServletRequest;

public interface SendCommentService {
    RequestResult sendMessage(String message, String mail, String verify, HttpServletRequest request);

    void sendMail(String mail);

    void sendMail(String mail,String content) throws Exception;

    void sendVerify(String mail);

    RequestResult messageList(Integer pageSize, Integer pageNum);

    RequestResult messageList();

    void delMessage(Integer id) throws Exception;
}
